package ren.xxpure.dao;

import org.springframework.data.mongodb.repository.MongoRepository;
import ren.xxpure.entity.Todo;

import java.util.Date;
import java.util.List;

public interface TodoRepository extends MongoRepository<Todo, String> {

	List<Todo> queryTodoByTimeBetweenAndUid(Date start, Date end, String uid);

	Todo queryTodoById(String id);
}
